package cn.tedu.oa.attendance.dao;

import cn.tedu.oa.common.dao.BaseDao;
import cn.tedu.oa.attendance.entity.Attendance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttendanceDao extends BaseDao<Attendance> {
    /*根据用户名查询考勤信息*/
    Attendance getAttendanceByName(@Param("name") String name);

    /*分页查询考勤信息*/
    List<Attendance> getAttendancePagerList(@Param("criteria") Object criteria,
                                @Param("startIndex") Integer startIndex,
                                @Param("endIndex") Integer endIndex);
}
